package com.gitee.neuray.security.par.parworkinfo.feign;

import com.gitee.neuray.security.admin.api.AdminStaffApi;
import com.gitee.neuray.security.par.demo.feign.DemoFeign;
import com.gitee.neuray.security.par.demo.feign.hystrix.DemoFeignHystrix;
import com.gitee.neuray.security.par.parworkinfo.feign.hystrix.ParWorkInfoFeignHystrix;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * @author th
 */
@FeignClient(value = ParWorkInfoFeign.admin,fallback = ParWorkInfoFeignHystrix.class)
public interface ParWorkInfoFeign extends AdminStaffApi {
    String admin = "hr-admin";
}
